package com.apex.utils;

public class CliUtils {
    public static String parseCli(String [] args){
        String configFile = "";
        //打印logo
        AsciiArtUtils.printAsciiArt("apexsoft");
        //通过命令行读取配置文件位置
        for (int i = 0; i < args.length; i++) {
            if ("--config".equals(args[i])) {
                configFile = args[i + 1];
                i++;
            }
        }
        return configFile;
    }
}
